<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\models\Registration */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="registration-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'invitation_code')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'region')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'dealer')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'dealer_code')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'post')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'genter')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_type')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'card_num')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'telephone')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'nationality')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'email')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'spare_contact')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'spare_contact_phone')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'come_transportation')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'departure_city')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'arrival_location')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'come_flight_number')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'arrival_time')->textInput() ?>

    <?= $form->field($model, 'is_aircraft')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'back_transportation')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'arrived_city')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'departure_location')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'back_flight_number')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'departure_time')->textInput() ?>

    <?= $form->field($model, 'is_send')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'dietary_needs')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'is_ceremony')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'is_hotel')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'come_hotel')->textInput() ?>

    <?= $form->field($model, 'back_hotel')->textInput() ?>

    <?= $form->field($model, 'forum')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'created_at')->textInput() ?>

    <?= $form->field($model, 'updated_at')->textInput() ?>

    <?= $form->field($model, 'deleted_at')->textInput() ?>

    <?= $form->field($model, 'created_by')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'updated_by')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'deleted_by')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'status')->textInput() ?>

  
	<?php if (!Yii::$app->request->isAjax){ ?>
	  	<div class="form-group">
	        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
	    </div>
	<?php } ?>

    <?php ActiveForm::end(); ?>
    
</div>
